This page last changed on Jan 03, 2012 by jed.wheeler@involver.com.

To use the ?phrasebook_manager feature block in SML you will first need to enable localization in your SML settings tab as pictured below.  (bottom section of screenshot: localization settings).  By default localization is turned off for most new tabs, your CSM will be able to turn the feature on for you if it is not enabled by default and localization is covered in your subscription plan.  

At a minimum, the Enable Localization check box must be checked and you must enter your namespace and name.  You will get the namespace and phrasebook name from the configuration menu of the phrasebook_manager feature block.  This setup is manual because instead of automated because it allows you to localize multiple pages off a single phrasebook.

Adding a default locale will allow names to be translated using said default in a case where there is no translation present for the user's locale.

Checking Force Default Locale will force the tab to always translate using the default locale. This can be useful when creating an SML feature that you want to always have viewed in a given language. An example might be for a tab marketed towards fr_FR that all users should see in French.

Page Tags are a comma separated (or comma space separated) list of page tags for translations that should be used on this page. For example, a user may define a 'global' tag, a 'sidebar' tag, and a 'landing' tag with separate translations that should be used on this page. The page tags field would then be: "global, sidebar, landing". If a translation is available in more than one page tag, it should be chosen in the order that they are listed in the field. The maximum number of translations across the combined set of page tags for a given locale is 1000.

Suppress Localization Warnings can be checked to return a blank string instead of a warning message when either name is not included with a localization tag or the phrasebook is not correctly configured. This should be left unchecked when debugging.


Document generated by Confluence on Feb 12, 2013 09:09